p2m: use correct p2m_type_t in clear_mmio_p2m_entry
authorOlaf Hering <olaf@aepfle.de>
Thu, 6 Oct 2011 11:52:18 +0000 (12:52 +0100)
committerOlaf Hering <olaf@aepfle.de>
Thu, 6 Oct 2011 11:52:18 +0000 (12:52 +0100)
commit8adb13efb2d4322df171228f5f85e5fbddb78f99
treec7957961bd79ff22f02de8ec18c5cea3b4004c6e
parent79cbca5f3f5f0687acf720fb715596ab817f2acc
p2m: use correct p2m_type_t in clear_mmio_p2m_entry

clear_mmio_p2m_entry() should mark the gfn as invalid.
Use proper name instead of numerical value. The currently used value of
zero means p2m_ram_rw.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m.c